{extend name="base" /}
{block name="body"}
<blockquote class="layui-elem-quote news_search layui-form">
		<div class="layui-inline">
		
		

		</div>
		
		
		<div class="layui-inline">
	
		</div>
		<div class="layui-inline">
			<ob_link><a class="layui-btn layui-btn-danger batchDel" data-url="{:es_url('memberAlldel')}">批量删除</a></ob_link>
		</div>

	</blockquote>
	<div class="layui-form users_list">
	  	<table class="layui-table">

		    <thead>
				<tr>
				 {notempty name='list'}
					<th width="5%" style="text-align:center"><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></th>
					 {/notempty}
				  <th>姓名</th>
          <th>用户ID</th>
          <th>联系方式</th>
          <th>认证信息</th>
          <th>认证类型1个人2企业机构</th>
          <th>证明材料</th>
          <th>申请时间</th>
           <th>更新时间</th>
          <th>状态</th>
          <th>操作</th>
				</tr> 
		    </thead>
		      {notempty name='list'}
       <tbody class="users_content">
            {volist name='list' id='vo'}
                <tr>
                <td width="5%" style="text-align:center"><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose" value="{$vo.id}"></td>
                  <td>{$vo.name}</td>
                  <td>{$vo.uid}</td>
                  <td>{$vo.mobile}</td>
                  <td>{$vo.statusdes}</td>
                  <td>{$vo.type}</td>
                   <td><img src="{$vo['cover_id']|default='0'|get_picture_url}"  style="width:40px;height:40px;"></td>
                  <td>{$vo.create_time|friendlyDate}</td>
                    <td>{$vo.update_time|friendlyDate}</td>
                  <td>{php}if($vo['status'] ==1){echo '通过';}else{echo '审核中';}{/php}</td>
                  <td class="col-md-2 text-center">
                    <ob_link><a class="layui-btn layui-btn-danger layui-btn-xs cstatus" href="javascript:;"  data-url="{:es_url('rzuserSh', array('id' => $vo['id']))}" data-field="status" data-val="{$vo.status}"><i class="fa fa-gavel"></i> {php}echo $vo['status']>0 ? '禁用' : '审核';{/php}</a></ob_link>
                     
            </td>
                </tr>
            {/volist}
        </tbody>
        {else/}
       <tbody class="users_content">
       <tr class="odd"><td colspan="9" class="text-center" valign="top">{:webconfig('empty_list_describe')}</td></tr>
       </tbody>
      {/notempty}
		
		</table>
	</div>
{/block}
  {block name="page"}
<div class="btable-paged" >
<div class="layui-main">
{$page}
</div>
</div>
   {/block}
